import config from '../../utils/config';
import apiCreator from '../../utils/apiCreator';

const api = apiCreator();

export default {
  // 表格数据
  queryReportTable: (query) => api.post(`${config.interfaces.type5}limitation-report/limitation/querylimitationReport`, query),
  // 获取T-1交易日
  previousTradingDay: (query) => api.get(`${config.interfaces.type5}limitation-report/limitation/getDayByTenantBatchRuntime`, query),
  // 报表详情
  queryReportInfoById: (query) => api.get(`${config.interfaces.type5}limitation-report/limitation/querylimitationReportDetali`, query),
  // 获取数据日志
  queryLogList: (query) => api.get(`${config.interfaces.type5}limitation-report/limitation/queryRiskDateLogReport`, query),
};
